.class Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn$c;
.super Landroid/webkit/WebViewClient;
.source "GoogleWebSignIn.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "c"
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;


# direct methods
.method private constructor <init>(Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn$c;->a:Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;

    invoke-direct {p0}, Landroid/webkit/WebViewClient;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn$a;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn$c;-><init>(Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;)V

    return-void
.end method


# virtual methods
.method public onPageStarted(Landroid/webkit/WebView;Ljava/lang/String;Landroid/graphics/Bitmap;)V
    .locals 1

    .line 1
    invoke-virtual {p1}, Landroid/webkit/WebView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p3

    .line 2
    invoke-virtual {p1}, Landroid/webkit/WebView;->getHeight()I

    move-result v0

    if-nez v0, :cond_0

    const/16 v0, 0x12c

    .line 3
    iput v0, p3, Landroid/view/ViewGroup$LayoutParams;->height:I

    goto :goto_0

    .line 4
    :cond_0
    iput v0, p3, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 5
    :goto_0
    invoke-virtual {p1, p3}, Landroid/webkit/WebView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    const-string p3, "http://localhost"

    .line 6
    invoke-virtual {p2, p3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p3

    if-eqz p3, :cond_1

    .line 7
    iget-object p3, p0, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn$c;->a:Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;

    const-string v0, "code"

    invoke-static {p3, p2, v0}, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;->a(Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    .line 8
    invoke-virtual {p1}, Landroid/webkit/WebView;->stopLoading()V

    .line 9
    iget-object p1, p0, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn$c;->a:Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;->a(Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;)Landroid/os/Handler;

    move-result-object p1

    if-eqz p1, :cond_1

    .line 10
    iget-object p1, p0, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn$c;->a:Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;->a(Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;)Landroid/os/Handler;

    move-result-object p1

    invoke-static {}, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;->A()I

    move-result p3

    invoke-virtual {p1, p3}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;

    move-result-object p1

    .line 11
    iput-object p2, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    .line 12
    iget-object p2, p0, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn$c;->a:Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;

    invoke-static {p2}, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;->a(Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;)Landroid/os/Handler;

    move-result-object p2

    invoke-virtual {p2, p1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    :cond_1
    return-void
.end method

.method public onReceivedError(Landroid/webkit/WebView;ILjava/lang/String;Ljava/lang/String;)V
    .locals 0

    const-string p1, "://"

    .line 1
    invoke-virtual {p4, p1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result p1

    if-lez p1, :cond_0

    add-int/lit8 p1, p1, 0x3

    .line 2
    invoke-virtual {p4, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p4

    .line 3
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn$c;->a:Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;->b(Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p4, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_1

    iget-object p1, p0, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn$c;->a:Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;->a(Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;)Landroid/os/Handler;

    move-result-object p1

    if-eqz p1, :cond_1

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn$c;->a:Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;->a(Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;)Landroid/os/Handler;

    move-result-object p1

    invoke-static {}, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;->A()I

    move-result p2

    invoke-virtual {p1, p2}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;

    move-result-object p1

    .line 5
    iget-object p2, p0, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn$c;->a:Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;

    invoke-static {p2}, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;->a(Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;)Landroid/os/Handler;

    move-result-object p2

    invoke-virtual {p2, p1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    :cond_1
    return-void
.end method

.method public onReceivedSslError(Landroid/webkit/WebView;Landroid/webkit/SslErrorHandler;Landroid/net/http/SslError;)V
    .locals 1
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn$c;->a:Lcom/estrongs/android/pop/app/premium/account/GoogleWebSignIn;

    invoke-static {v0, p1, p2, p3}, Lcom/estrongs/android/util/b0;->a(Landroid/content/Context;Landroid/webkit/WebView;Landroid/webkit/SslErrorHandler;Landroid/net/http/SslError;)V

    return-void
.end method

.method public shouldOverrideUrlLoading(Landroid/webkit/WebView;Ljava/lang/String;)Z
    .locals 0

    const/4 p1, 0x0

    return p1
.end method
